home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60src.lha / Vim / vim60 / src / testdir / test17.in < prev    next >
Encoding:
Text File  |  2000-11-22  |  368 b   |  28 lines

  1. Tests for "gf" on ${VAR}
  2.  
  3. STARTTEST
  4. :so small.vim
  5. :if has("ebcdic")
  6. : set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}
  7. :else
  8. : set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}
  9. :endif
  10. :if has("unix")
  11. :let $CDIR = "."
  12. /CDIR
  13. :else
  14. :if has("amiga")
  15. :let $TDIR = "/testdir"
  16. :else
  17. :let $TDIR = "."
  18. :endif
  19. /TDIR
  20. :endif
  21. gf
  22. :w! test.out
  23. :qa!
  24. ENDTEST
  25.  
  26.     ${CDIR}/test17a.in
  27.     $TDIR/test17a.in
  28.